package zut.edu.cn.concertticketmanagementsystem.Dao;

import org.springframework.data.domain.Page;
import org.springframework.data.domain.Pageable;
import org.springframework.data.jpa.repository.JpaRepository;
import zut.edu.cn.concertticketmanagementsystem.entity.OrderForm;

import java.util.List;

/**
 * Created with IntelliJ IDEA.
 * User: heroma
 * Date: 5/29/19
 * Time: 7:42 PM
 * Description: No Description
 */
public interface OrderFormDao extends JpaRepository<OrderForm,String> {
    List<OrderForm> findByBuyerName(String buyerName);
    OrderForm findByOrderId(String id);
}
